package com.schoolhelper.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.*;

/**
 * (TFavorite)表实体类
 *
 * @author makejava
 * @since 2021-04-23 21:03:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TFavorite extends Model<TFavorite> {

    //收藏关系的id
    @TableId(type = IdType.AUTO)
    private Long favoriteId;

    private Integer userId;

    private Long orderId;

    private Date favoriteDatetime;
}
